<template>
  <div id="app">
    <div class="head">
      <img src="./assets/img/logo.png">
    </div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted(){
    this.setHeight()
  },
  methods:{
    setHeight(){
      let app=document.getElementById("app")
      app.style.height=window.innerHeight+"px"
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  background-color: #eee;
}
.head{
  background: #2c3e50;
  padding: 15px 5px;
  position: relative;
  z-index: 2;
}
.head img{
  width: 180px
}
</style>
